package cn.dnui_xcz826.dnuifood_16110100826.service;

import java.util.List;

import cn.dnui_xcz826.dnuifood_16110100826.bean.CommentBean;
import cn.dnui_xcz826.dnuifood_16110100826.bean.ResultBean;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by Administrator on 2018/11/19.
 */

public interface OrderService {
    @GET("insertOrder.do")
    Call<ResultBean> doInsertOrder(
            @Query("user_id") String user_id,
            @Query("address") String address,
            @Query("sum") String sum,
            @Query("suggesttime") String suggesttime,
            @Query("items") String items
    );

    @GET("getAllOrdersByUser.do")
    Call<List<CommentBean>> doGetAllOrdersByUser(
            @Query("user_id") String user_id
    );
}
